<template>
    <div class="blog-post">
        <h3>{{ news.title }}</h3>
        <div v-html="news.content"></div>
    </div>
</template>

<script>
    export default {
        name: "News",
        props: {
            news: Object
        }
    }
</script>

<style scoped>
h3 {
    font-size: 24px;
}
div {
    background-color: blueviolet;
}
</style>